package com.bls.cate.ui.activity.home;

import android.app.Activity;
import android.content.Context;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;

import com.bls.cate.bean.HomeBean;
import com.bls.cate.mvp.BasePresenter;
import com.bls.cate.mvp.BaseView;

import java.util.ArrayList;

/**
 * MVPPlugin
 * 邮箱 784787081@qq.com
 */

public class HomeContract {
    interface View extends BaseView {
        void setNewBottomBarOldClickPosition(int index);
    }

    interface Presenter extends BasePresenter<View> {
        ArrayList<HomeBean.BottomBarBean> getBottomBarBean();
        void switchFragment(int index, int bottomBarOldClickPosition, FragmentManager fragmentManager, Fragment[] fragments);
        Fragment[] getFragments();
    }
}
